# 总结：类的传递过程中，我们把父类又称为基类，
# 子类又称为派生类，父类的属性和方法可以一级一级的传递到子类
class GrandFather:
    def eat(self):
        print("我吃饭呢")
        pass
    pass
class Father(GrandFather):
    pass
class Son(Father):
    pass
xm=Son()
xm.eat()

